<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ page import="cn.model.*,java.util.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	登录用户：${name}
	<br>
	<a href="addUser.jsp">添加用户</a>
	<table border="1">
		<tr>
			<td>登录名</td>
			<td>操作</td>
		</tr>
		<%
			List<Users> list = (List<Users>) request.getAttribute("list");
			for (Users obj : list) {
		%>
		<tr>
			<td><%=obj.getUsername()%></td>
			<td><a href="/user/manager?func=delete&id=<%=obj.getId()%>">删除</a></td>
		</tr>
		<%
			}
		%>
	</table>

</body>
</html>